home *** CD-ROM | disk | FTP | other *** search
/ Mac OS 9 Serial Number Archive / SN Archive 2023.11.04.toast / BSNG / SDK / BSNG SDK 2.6 / Contributed / Basic / Resources / BSNG PPob.r < prev    next >
Encoding:
Text File  |  1998-08-22  |  1.5 KB  |  44 lines  |  [TEXT/CWIE]

  1. /* Template PPob.r */
  2. /* User-specified values.  This file should be edited per project.  */
  3.  
  4. /* Includes the PowerPlant definitions and sets the default field
  5.    parameters: empty default text, 30 chars maximum, accepting only
  6.    printable characters. */
  7. #include "Template PPob Prefix.r"
  8.  
  9. /* TOP_CAPTION appears at the top of the plugin panel */
  10. #define TOP_CAPTION       "<put Plugin description here>"
  11.  
  12. /* ENTRY_COUNT defines the number of fields used for data entry.
  13.    There is a separator between entry fields and (non-editable)
  14.    result fields.
  15.  
  16.    RESULT_COUNT defines the number of fields used for returning
  17.    results.  There is a separator between entry and result fields.
  18.  
  19.    There must be no more than 5 fields total. */
  20.  
  21. #define ENTRY_COUNT       3
  22. #define RESULT_COUNT      1
  23.  
  24.  
  25. /* FIELD_n_TITLE is the caption for this field, defaults to "n"
  26.    FIELD_n_DEFAULT is the default text for this field, defaults to ""
  27.    FIELD_n_MAX_CHARS is the default maximum length for this field,
  28.      defaults to 63
  29.    FIELD_n_FILTER is the default key filter for this field, defaults
  30.      to printingCharFilter.
  31.  
  32.    Entry fields are numbered 1 to ENTRY_COUNT.
  33.    Result fields are numbered ENTRY_COUNT + 1 to (ENTRY_COUNT + 1) + RESULT_COUNT */
  34.  
  35. #define FIELD_1_TITLE     "Name:"
  36. #define FIELD_2_TITLE     "Company:"
  37. #define FIELD_3_TITLE     "Num of copies:"
  38. #define FIELD_4_TITLE     "Serial Number:"
  39.  
  40. #define FIELD_3_MAX_CHARS 4
  41. #define FIELD_3_FILTER    integerFilter
  42.  
  43. #include "Template PPob Script.r"
  44.